using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using AutumnEngine.Modules;

namespace AutumnEngine
{
    /// <summary>
    /// The base game claSs in the AutumnEngine.
    /// </summary>
    public partial class Node
    {
        internal virtual void OnAdd(string name)
        {
            NameWithinScene = name;
        }

        internal virtual void NameChanged(string to)
        {
            NameWithinScene = to;
        }

        public virtual void Update()
        {
            //Not needed either
        }

        public virtual void Draw()
        {
            //Not needed for base node.
        }

        public virtual Vector2 Position
        {
            get;
            set;
        }

        public string NameWithinScene
        {
            get;
            set;
        }
    }
}